export interface Config {
    version_tag: string;
    globalFilterLog: string[];
    consulCache?: string;
    service: {
        [serviceName: string]: ServiceConfig;
    };
    autoStart: string[];
    [key: string]: any;
}

export interface ServiceConfig {
    ip: string;
    port: number;
    root: string;
    remote_versions?: object;
    filterLog?: string[];
    [propName: string]: any;
}

export interface GetList {
    (serviceName: string, callback: (tags: string[]) => void): void;
}

export interface IsSelect {
    (name: string): GetList;
}
